Bump version number to 2.4.2 to pick up the latest minor bug fixes.
[python/dscho.git] / Mac / IDE scripts / Widget demos / ModalDialog.py
blob801dfd4eb0642ed6d9144c7637d1949b0ab66bc0
1 import W
2 from Carbon import Windows
5 w = W.ModalDialog((100, 100))
7 w.ed = W.EditText((10, 10, 80, 50))
8 w.ok = W.Button((10, 70, 80, 16), "Ok", w.close)
9 w.setdefaultbutton(w.ok)
10 w.open()